home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Programming / Programming Languages / Harvest C / MPW Int & Lib / Interfaces / Scrap.h < prev    next >
Text File  |  1991-04-17  |  1KB  |  54 lines

  1. /************************************************************
  2.  
  3. Created: Sunday, January 6, 1991 at 9:52 PM
  4.     Scrap.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.         Copyright Apple Computer, Inc.    1985-1989
  9.         All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __SCRAP__
  15. #define __SCRAP__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21.  
  22. struct ScrapStuff {
  23.     long scrapSize;
  24.     Handle scrapHandle;
  25.     short scrapCount;
  26.     short scrapState;
  27.     StringPtr scrapName;
  28. };
  29.  
  30. typedef struct ScrapStuff ScrapStuff;
  31. typedef ScrapStuff *PScrapStuff;
  32.  
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37. pascal PScrapStuff InfoScrap(void)
  38.     = 0xA9F9; 
  39. pascal long UnloadScrap(void)
  40.     = 0xA9FA; 
  41. pascal long LoadScrap(void)
  42.     = 0xA9FB; 
  43. pascal long GetScrap(Handle hDest,ResType theType,long *offset)
  44.     = 0xA9FD; 
  45. pascal long ZeroScrap(void)
  46.     = 0xA9FC; 
  47. pascal long PutScrap(long length,ResType theType,Ptr source)
  48.     = 0xA9FE; 
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52.  
  53. #endif
  54.